<!-- 新增按钮 -->
<template>
  <view class="bottom-button" @click="onClick">
    <u-icon name="plus" color="#2979ff" size="28rpx" style="margin-right: 6rpx;"></u-icon>
    {{text}}
  </view>
</template>

<script>
  export default {
    props: {
      text: {
        type: String,
        default: ''
      }
    },
    methods: {
      onClick() {
        this.$emit('click')
      }
    }
  }
</script>

<style lang="scss" scoped>
  .bottom-button {
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80rpx;
    background: #F0F8FF;
    border-radius: 8rpx 8rpx 8rpx 8rpx;
    border: 1rpx solid #D7EAFB;
    font-weight: 500;
    font-size: 28rpx;
    color: #4A97F9;
  }
</style>